import request from '@/utils/request'
export function setIntegralRules({ register_point, invite_point, buy_point, watch_video_point, watch_video_max_point, become_vip_point, invite_vip_point, share_goods_point, share_goods_max_point, watch_article_point, watch_article_max_point }) {
  return request({
    url: '/back/shop/setIntegralRule',
    method: 'post',
    data: { register_point, invite_point, buy_point, watch_video_point, watch_video_max_point, become_vip_point, invite_vip_point, share_goods_point, share_goods_max_point, watch_article_point, watch_article_max_point }
  })
}
// 获取积分规格
export function getIntegralRules() {
  return request({
    url: '/back/shop/getIntegralRule',
    method: 'get'
  })
}